package com.ruiyi.adrobot.beans;

import java.util.LinkedList;
import java.util.List;

/**
 * Robot基础信息
 */
public class Robot extends Model {
    private String id;
    private String simCode; // 唯一标识
    private String createDate;
    private String updateDate;
    private Boolean online; // 是否在线
    private List<TaskInfo> taskInfos = new LinkedList<>(); // 执行任务信息
    private String groupName; // 分配组名 0代表未分配组
    private String nickName; // 别名
    private String offLineTime; // 离线时间
    private Boolean busy = false; // 是否忙碌
    private Long lockTime = Long.valueOf(0); // 锁定20秒不让派任务
    private String version; // Robot版本号
    private String osVersion; // 固件版本
    private Wifi wifi; // wifi信息
    private String apps; // robot上所有应用
    private String taskRemark; // 当前任务描述
    private String vpnIp; // 执行任务时Ip
    private String onlineIp; // 上线时候的IP

    public String getOnlineIp() {
        return onlineIp;
    }

    public void setOnlineIp(String onlineIp) {
        this.onlineIp = onlineIp;
    }

    public String getVpnIp() {
        return vpnIp;
    }

    public void setVpnIp(String vpnIp) {
        this.vpnIp = vpnIp;
    }

    public String getTaskRemark() {
        return taskRemark;
    }

    public void setTaskRemark(String taskRemark) {
        this.taskRemark = taskRemark;
    }

    public String getApps() {
        return apps;
    }

    public void setApps(String apps) {
        this.apps = apps;
    }

    public String getOsVersion() {
        return osVersion;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public Wifi getWifi() {
        return wifi;
    }

    public void setWifi(Wifi wifi) {
        this.wifi = wifi;
    }

    public Long getLockTime() {
        return lockTime;
    }

    public void setLockTime(Long lockTime) {
        this.lockTime = lockTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSimCode() {
        return simCode;
    }

    public void setSimCode(String simCode) {
        this.simCode = simCode;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Boolean getBusy() {
        return busy;
    }

    public void setBusy(Boolean busy) {
        this.busy = busy;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    public List<TaskInfo> getTaskInfos() {
        return taskInfos;
    }

    public void setTaskInfos(List<TaskInfo> taskInfos) {
        this.taskInfos = taskInfos;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getOffLineTime() {
        return offLineTime;
    }

    public void setOffLineTime(String offLineTime) {
        this.offLineTime = offLineTime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
